package com.design.pattern.factory;

import com.design.pattern.templateMethod.BTemplateMethod;
import com.design.pattern.templateMethod.TemplateMethod;

public class BFactory<T>  extends AbstractSonFactory<T> {

    @Override
    protected TemplateMethod business(T parameter) {
        System.out.println("B工厂只生产产品B");
        return new BTemplateMethod();
    }
}
